package com.gs.xbinfomytest.entity.dsl;

import com.gitee.hengboy.mybatis.enhance.dsl.expression.ColumnExpression;
import com.gitee.hengboy.mybatis.enhance.dsl.expression.TableExpression;
import com.gs.xbinfomytest.entity.SysUserPost;

/**
 * 用户与岗位关联表
 * @author ApiBoot Mybatis Enhance Codegen
 */
public class DSysUserPost extends TableExpression<SysUserPost> {

    public DSysUserPost(String root) {
        super(root);
    }

    public static DSysUserPost DSL() {
        return new DSysUserPost("sys_user_post");
    }

    /**
     * 用户ID
     */
    public ColumnExpression userId = new ColumnExpression("user_id", this);
    /**
     * 岗位ID
     */
    public ColumnExpression postId = new ColumnExpression("post_id", this);
    @Override
    public ColumnExpression[] getColumns() {
        return new ColumnExpression[]{userId, postId};
    }

}

